import request from '@/utils/request.js'
export function getHome() {
    return request(
        {
            url:"home/index", 
            method:"get",
        }
    );
}
//分类API  catalog/inndex
export function getCatalog(){
    return request(
        {
            url:"catalog/index",
            method:"get",
        }
    );
}
export function getCurrentCatelog(id){
    return request(
        {
            url:"catalog/index",
            method:"get",
            data:{id}
        }
    );
}

export function getShopping() {
    return request(
        {
            url:"shopping/index", 
            method:"get",
        }
    );
}


